<?php if (!defined('THINK_PATH')) exit();?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>e网批发后台管理系统</title>

<link href="themes/default/style.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="themes/css/core.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="themes/css/print.css" rel="stylesheet" type="text/css" media="print"/>
    <link href="themes/css/print.css" rel="stylesheet" type="text/css" media="print"/>
    <link href="themes/default/default.css" rel="stylesheet" type="text/css" media="print"/>
<link href="uploadify/css/uploadify.css" rel="stylesheet" type="text/css" media="screen"/>
<!--[if IE]>
<link href="themes/css/ieHack.css" rel="stylesheet" type="text/css" media="screen"/>
<![endif]-->

<!--[if lt IE 9]><script src="js/speedup.js" type="text/javascript"></script><script src="js/jquery-1.11.3.min.js" type="text/javascript"></script><![endif]-->
<!--[if gte IE 9]><!--><script src="js/jquery-2.1.4.min.js" type="text/javascript"></script><!--<![endif]-->

<script src="js/jquery.cookie.js" type="text/javascript"></script>
<script src="js/jquery.validate.js" type="text/javascript"></script>
<script src="js/jquery.bgiframe.js" type="text/javascript"></script>

<script src="uploadify/scripts/jquery.uploadify.js" type="text/javascript"></script>


    <script src="js/dwz.util.date.js" type="text/javascript"></script>
    <script src="js/dwz.validate.method.js" type="text/javascript"></script>

<script src="js/dwz.core.js" type="text/javascript"></script>
<script src="js/dwz.util.date.js" type="text/javascript"></script>
<script src="js/dwz.validate.method.js" type="text/javascript"></script>
<script src="js/dwz.barDrag.js" type="text/javascript"></script>
<script src="js/dwz.drag.js" type="text/javascript"></script>
<script src="js/dwz.tree.js" type="text/javascript"></script>
<script src="js/dwz.accordion.js" type="text/javascript"></script>
<script src="js/dwz.ui.js" type="text/javascript"></script>
<script src="js/dwz.theme.js" type="text/javascript"></script>
<script src="js/dwz.switchEnv.js" type="text/javascript"></script>
<script src="js/dwz.alertMsg.js" type="text/javascript"></script>
<script src="js/dwz.contextmenu.js" type="text/javascript"></script>
<script src="js/dwz.navTab.js" type="text/javascript"></script>
<script src="js/dwz.tab.js" type="text/javascript"></script>
<script src="js/dwz.resize.js" type="text/javascript"></script>
<script src="js/dwz.dialog.js" type="text/javascript"></script>
<script src="js/dwz.dialogDrag.js" type="text/javascript"></script>
<script src="js/dwz.sortDrag.js" type="text/javascript"></script>
<script src="js/dwz.cssTable.js" type="text/javascript"></script>
<script src="js/dwz.stable.js" type="text/javascript"></script>
<script src="js/dwz.taskBar.js" type="text/javascript"></script>
<script src="js/dwz.ajax.js" type="text/javascript"></script>
<script src="js/dwz.pagination.js" type="text/javascript"></script>
<script src="js/dwz.database.js" type="text/javascript"></script>
<script src="js/dwz.datepicker.js" type="text/javascript"></script>
<script src="js/dwz.effects.js" type="text/javascript"></script>
<script src="js/dwz.panel.js" type="text/javascript"></script>
<script src="js/dwz.checkbox.js" type="text/javascript"></script>
<script src="js/dwz.history.js" type="text/javascript"></script>
<script src="js/dwz.combox.js" type="text/javascript"></script>
<script src="js/dwz.file.js" type="text/javascript"></script>
<script src="js/dwz.print.js" type="text/javascript"></script>
    <script src="kindeditor/kindeditor-min.js" type="text/javascript"></script>
    <script src="kindeditor/zh_CN.js" type="text/javascript"></script>
    <script src="js/cityJson.js" type="text/javascript"></script>
    <script src="js/citySet.js" type="text/javascript"></script>
    <script src="js/Popt.js" type="text/javascript"></script>

<!-- 可以用dwz.min.js替换前面全部dwz.*.js (注意：替换时下面dwz.regional.zh.js还需要引入)
<script src="bin/dwz.min.js" type="text/javascript"></script>
-->
<script src="js/dwz.regional.zh.js" type="text/javascript"></script>

<script type="text/javascript">
$(function(){
    DWZ.init("dwz.frag.xml", {
        loginUrl:"login_dialog.html", loginTitle:"登录",  // 弹出登录对话框
//      loginUrl:"login.html",  // 跳到登录页面
        statusCode:{ok:200, error:300, timeout:301}, //【可选】
        pageInfo:{pageNum:"pageNum", numPerPage:"numPerPage", orderField:"orderField", orderDirection:"orderDirection"}, //【可选】
        keys: {statusCode:"statusCode", message:"message"}, //【可选】
        ui:{hideMode:'offsets'}, //【可选】hideMode:navTab组件切换的隐藏方式，支持的值有’display’，’offsets’负数偏移位置的值，默认值为’display’
        debug:false,    // 调试模式 【true|false】
        callback:function(){
            initEnv();
            $("#themeList").theme({themeBase:"themes"}); // themeBase 相对于index页面的主题base路径
        }
    });
});
</script>
<style>
    .pageFormContent p{
        float:none;
    }



    .yuns label{
        width:auto;
        padding:0px 10px;
    }

    .pageFormContent .textInput{
        width:40px;
        float:none;
    }

    .pageFormContent p{
        width:auto;
    }

    ._citys {    display:none; background: #fff;width: 450px; z-index:1000;display: inline-block; border: 2px solid #eee; padding: 5px; position: relative; }
    ._citys span { color: #56b4f8; height: 15px; width: 15px; line-height: 15px; text-align: center; border-radius: 3px; position: absolute; right: 10px; top: 10px; border: 1px solid #56b4f8; cursor: pointer; }
    ._citys0 { width: 100%; height: 34px; display: inline-block; border-bottom: 2px solid #56b4f8; padding: 0; margin: 0; }
    ._citys0 li { display: inline-block; line-height: 34px; font-size: 15px; color: #888; width: 80px; text-align: center; cursor: pointer; }
    .citySel { background-color: #56b4f8; color: #fff !important; }
    ._citys1 { width: 100%; display: inline-block; padding: 10px 0; }
    ._citys1 a { width: 83px; height: 35px; display: inline-block; background-color: #f5f5f5; color: #666; margin-left: 6px; margin-top: 3px; line-height: 35px; text-align: center; cursor: pointer; font-size: 13px; overflow: hidden; }
    ._citys1 a:hover { color: #fff; background-color: #56b4f8; }
    .AreaS { background-color: #56b4f8 !important; color: #fff !important; }



</style>
</head>

<body>
    <div id="layout">
        <div id="header">
            <div class="headerNav">

                <ul class="themeList" id="themeList">
                    <li theme="default"><div class="selected">蓝色</div></li>
                    <li theme="green"><div>绿色</div></li>
                    <!--<li theme="red"><div>红色</div></li>-->
                    <li theme="purple"><div>紫色</div></li>
                    <li theme="silver"><div>银色</div></li>
                    <li theme="azure"><div>天蓝</div></li>
                </ul>
            </div>

            <!-- navMenu -->
            
        </div>

        <div id="leftside">
            <div id="sidebar_s">
                <div class="collapse">
                    <div class="toggleCollapse"><div></div></div>
                </div>
            </div>
            <div id="sidebar">
                <div class="toggleCollapse"><h2>运费管理</h2><div>收缩</div></div>

                <div class="accordion" fillSpace="sidebar">
                    <div class="accordionHeader">
                        <h2><span>Folder</span>界面组件</h2>
                    </div>
                    <div class="accordionContent">
                        <ul class="tree treeFolder">
                            <li><a >运费管理</a>
                                <ul>
                                    <li><a href="index.php?c=Fare&a=fareList" target="navTab" rel="fare_list">运费模板</a></li>
                                </ul>
                            </li>
                            <li><a >充值管理</a>
                                <ul>
                                    <li><a href="../index.php" target="_self" rel="charge_list">充值列表</a></li>
                                    <li><a href="../index.php" target="_self" rel="charge_add">充值</a></li>
                                </ul>
                            </li>
                            <li><a >提现管理</a>
                                <ul>
                                    <li><a href="index.php?c=Present&a=presentList" target="navTab" rel="present_list">提现列表</a></li>
                                    <li><a href="index.php?c=Present&a=bankList" target="navTab" rel="bank_list">银行卡列表</a></li>
                                </ul>
                            </li>
                            <li><a >返回</a>
                                <ul>
                                    <li><a href="../index.php" target="_self" rel="fare_list">主菜单</a></li>
                                </ul>
                            </li>
                        </ul>
                    </div>

                </div>
            </div>
        </div>
        <div id="container">
            <div id="navTab" class="tabsPage">
                <div class="tabsPageHeader">
                    <div class="tabsPageHeaderContent"><!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
                        <ul class="navTab-tab">
                            <li tabid="main" class="main"><a href="javascript:;"><span><span class="home_icon">记录详情</span></span></a></li>
                        </ul>
                    </div>
                    <div class="tabsLeft">left</div><!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
                    <div class="tabsRight">right</div><!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
                    <div class="tabsMore">more</div>
                </div>
                <ul class="tabsMoreList">
                    <li><a href="javascript:;">记录流水详情</a></li>
                </ul>
                <div class="navTab-panel tabsPageContent layoutBox">
                    <div class="page unitBox" style=''>

                        <div class="pageFormContent" layoutH="80" style="margin-right:230px;font-size:30px">


<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
        <li><span>姓名：<b style="color:skyblue"><?php echo ($realname); ?></b></span></li>
        </ul>
    </div>

    <div id="w_list_print">
        <table class="list" width="98%" targetType="navTab" asc="asc" desc="desc" layoutH="116">
            <thead>
            <tr>
                <th align="center" width="80" orderField="name" >记录ID</th>
                <th align="center" width="80" orderField="name" >单号</th>
                <th align="center" width="100" orderField="num">渠道</th>
                <th align="center" width="100" orderField="num">金额</th>
                <th align="center" width="100" orderField="num">时间</th>
            </tr>
            </thead>
            <tbody id="Fares">

            <?php if(is_array($datas)): $i = 0; $__LIST__ = $datas;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$data): $mod = ($i % 2 );++$i;?><tr target="<?php echo ($data["id"]); ?>" rel="1">
                   <td><?php echo ($data["id"]); ?></td>
                   <td><?php echo ($data["number"]); ?></td>
                   <td>
                    <?php if($data["style"] == 1): ?>微信
                    <?php elseif($data["style"] == 2): ?>支付宝
                    <?php elseif($data["style"] == 3): ?>
                      <?php if(is_array($banks)): $i = 0; $__LIST__ = $banks;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$bank): $mod = ($i % 2 );++$i; if($bank['id'] == $data['bid']) echo $bank['bank_name']; endforeach; endif; else: echo "" ;endif; endif; ?>
                   </td>
                   <td>
                      <?php if($data["active_pay"] == 2): ?>-
                      <?php elseif($data["style"] != 2): ?> +<?php endif; ?>
                   <?php echo ($data["amount"]); ?></td>
                   <td><?php echo ($data["created_at"]); ?></td>
                </tr><?php endforeach; endif; else: echo "" ;endif; ?>
            </tbody>
        </table>
    </div>

    <div class="panelBar" >
        <div class="pages">
            <span>显示</span>
            <select name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
                <option value="20">20</option>
                <option value="50">50</option>
                <option value="100">100</option>
                <option value="200">200</option>
            </select>
            <span>条，共<?php echo ($param["count"]); ?>条</span>
        </div>

        <div class="pagination" targetType="navTab" totalCount="<?php echo ($param["count"]); ?>" numPerPage="<?php echo ($param["numPerPage"]); ?>" pageNumShown="10" currentPage="<?php echo ($param["pageNum"]); ?>"></div>

    </div>

</div>

                        </div>
                    </div>
                    
                </div>
            </div>
        </div>

    </div>

<script>
$('td').attr({align:"center"});
</script>

</body>
</html>